﻿using System;
using System.Runtime.CompilerServices;
using System.Windows.Browser;

namespace Helper
{
    public class ScriptablePropertyChangedEventArgs : EventArgs
    {
        public ScriptablePropertyChangedEventArgs(string propertyName, object value)
        {
            this.PropertyName = propertyName;
            this.Value = value;
        }

        [ScriptableMember]
        public string PropertyName { get; set; }
        
        [ScriptableMember]
        public object Value { get; set; }
    }
}

